Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove SourceLink package reference #6430

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

smoogipoo
Copy link
Contributor

We've been seeing some hot reload failures of the form: error ENC0003: Updating 'attribute' requires restarting the application

This is caused by SourceLink, which wants to write the git hash to the AssemblyInfo obj file.

Trail starts here: dotnet/sourcelink#1144

SourceLink is included starting with the .NET 8 SDK, and I've tested that SourceLink is still working - dotnet pack and check the .nuspec in the contained package:
sh $ cat ppy.osu.Framework.nuspec | grep rep <repository type="git" url="https://github.com/ppy/osu-framework" commit="270b29d58b736deca2b6d76fe9907b2554d5979f" />

@smoogipoo
Copy link
Contributor Author

Interestingly, this has PrivateAssets="all" so it might not fix it...

@peppy peppy merged commit 019b49f into ppy:master Nov 18, 2024
12 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants